// require('../connect');
var mongoose = require('mongoose');

mongoose.connect('mongodb://localhost/mache');

var macheSchema = mongoose.Schema({
  content: {
    type: String,
    required: true
  },
  time: {
    type: String
  },
});

var machemodel = mongoose.model("machemodel", macheSchema);
exports.machemodel = machemodel;